package com.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dao.Visitorsuser1Mapper;
import com.entity.Visitorsuser1;

@Service
public class Visitorsuser1Service {

	@Resource
	Visitorsuser1Mapper visitorsuserMapper;
	public int insert(Visitorsuser1 visitorsuser){
		return visitorsuserMapper.insert(visitorsuser);
	}
	
	public List<Visitorsuser1> select(String openid){
		return visitorsuserMapper.select(openid);
	}
}
